<!DOCTYPE HTML>
[#include "../include/taglibs.html"/]
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>${sysname!}</title>
    [#include "../include/base_js_css.html"/]
    <script type="text/javascript" src="${resource!}/js/frame/main.js"></script>
    <script type="text/javascript" src="${resource!}/js/mainPage/modifyPassword.js"></script>
    <style type="text/css">
      html { height: 100%; }
      body { margin: 0; }
      ul li{
        margin-top: 1px;
        cursor: pointer;
      }
      .tree-title { }
      #tt .panel-body {
        padding: 10px; overflow: hidden;
      }
    </style>
  </head>
  <body style="border:none;visibility:visible;width: 100%;height: 100%;">
    <div id="cc" class="easyui-layout" style="width:100%;height:100%;">
      <!-- 页面顶部top及菜单栏 -->  
      <div region="north" style="overflow: hidden;">
        <div class="header">
          <div class="header_logo">
              <span id="timeInfo"><input type="hidden" id="adminUserName" name="adminUserName"></span>
               [@perms url="/mainPage/modifyPassword.htm"]
              <a href="javascript:showModifyPassword();" class="etd_btn_blue2" title="修改密码">修改密码</a>
               [/@perms]
              <a href="${ctx!}/logout.htm" class="etd_btn_red" title="退 出">退出</a>
          </div>
          <div class="header_index">
            <span style="padding-right: 0;">首页</span>
            <span id="index_nav">&nbsp;</span>
          </div>
          <!--  <div class="maintitle" style="top: 12;">${sysname!}</div> -->
        </div>
      </div>  
      <!-- 页面底部信息 -->
      <div region="south" style="height: 35px;" >
        [#include "bottom.html"/]
      </div>  
      <!-- 左侧导航菜单 -->	    
      <div region="west" style="width: 210px;">
        <ul id="navigateTree" class="easyui-tree" data-options="method:'get',lines:true" style="padding-left: 0px; padding-top: 8px;">
        </ul>
      </div>  
      <!-- 主显示区域选项卡界面 title="主显示区域"-->
      <div region="center" style="border: none; overflow: hidden;">
        <div class="easyui-tabs" id="tt" style="width: auto;"> 
          <div title="欢迎页">
            <iframe width='100%' height='100%'  id='iframe' frameborder='0' scrolling='auto'  src='${ctx!}/center.htm'></iframe>
          </div>
        </div>
      </div>  
    </div>
    <div id="tab_rightmenu" class="easyui-menu" style="width:150px;">
      <div class="menu-item" name="tab_menu-tabclose">关闭</div> 
      <div class="menu-sep"></div>
      <div class="menu-item" name="tab_menu-tabcloseall">关闭全部标签</div>
      <div class="menu-item" name="tab_menu-tabcloseother">关闭其他标签</div>
    </div>
    
    
        <!-- 修改用户密码模块 -->
    <div id="modify_user_password_dlg" class="easyui-dialog" title="登录用户密码修改" style="width: 500px; height: 300px; padding: 10px 20px" buttons="#dlg-buttons"  closed="true">
      <form id="fm_user" method="post" novalidate>
        <div class="fitem">
          <label for="oldPassword">旧密 码:</label> 
          <input name="oldPassword"  id="oldPassword" class="easyui-validatebox" type="password"  required="true"  validType="remote['${ctx!}/mainPage/uniquePassword.json','oldPassword']" invalidMessage="旧密码输入有误" >
        </div>
        <div class="fitem">
          <label for="password">新密 码:</label> 
          <input name="password" required="true" id="password" type="password" class="easyui-validatebox"  validType="minLength[6]" missingMessage="请输入密码.">
        </div>
        <div class="fitem">
          <label for="repeatPassword">再次输入密 码:</label> 
          <input name="repeatPassword" required="true" id="repeatPassword" type="password" class="easyui-validatebox" validType="equalTo['#password']" invalidMessage="两次输入密码不匹配">
        </div>
      </form>
      
     <div id="dlg-buttons">
      <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="javascript:modifyUserPassword()">保存</a> 
      <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#modify_user_password_dlg').dialog('close')">取消</a>
    </div>
    </div>
    
  </body>
</html>